package com.ysyx.ysyx_message.controller;

import com.ysyx.ysyx_message.dto.BaseDto;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by IntelliJ IDEA.
 *
 * @description: xxxx接口/类
 * @author:郭宇轩
 * @create:2023/4/19 9:44
 */
@RestController
@RequestMapping("/chat")
public class ChatController {

    //请使用ChatService
    //MessagePojoService为MyBatisPlus自动生成

    @RequestMapping("/passengerToDriver")
    public BaseDto passengerChat(){
        return null;
    }

    @RequestMapping("/driverToPassenger")
    public BaseDto driverChat(){
        return null;
    }
}
